package com.googlecode.restitory.api;

import com.google.gson.JsonArray;
import com.google.gson.JsonObject;

public interface JsonService {

	public String put(JsonObject obj);

	public String post(JsonObject obj);

	public JsonObject get(String id);

	public void delete(String id);

	public void delete(String id, Long rev);

	public JsonArray query(JsonObject query);

	public Long count(JsonObject query);

}
